package cn.abyss.admin.ums.dao;

import cn.abyss.admin.ums.model.UmsAdminRoleRelation;
import cn.abyss.admin.ums.model.UmsResource;
import cn.abyss.admin.util.MyMapper;
import cn.abyss.admin.util.ResultMap;

import java.util.List;
import java.util.Map;

public interface UmsAdminRoleRelationMapper extends MyMapper<UmsAdminRoleRelation> {
    /**
     * 根据map查询资源
     * @param map
     * @return
     */
    List<UmsResource> queryResourceList(Map<String, Object> map);

    List<ResultMap> queryUmsAdminRoleRelationMap(Map<String, Object> map);

    List<ResultMap> sumUmsAdminRoleRelation(Map<String, Object> map);
}